﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BesAsm.Framework.Reporting;

namespace BesAsm.Emgaats.Core.Commands
{
  public abstract class SingleCommand : IEmgaatsExtensionCommand
  {
    public SingleCommand()
    {
      
    }
      
    #region IEmgaatsExtensionCommand Members

    public abstract string Name
    {
      get;
    }

    public abstract string Description
    {
      get;
    }

    public virtual void Execute()
    {
      Messenger.ReportMessage(string.Format("{0} executing", Name), ReportableMessageType.Command);
    }

    public abstract void Undo();
    #endregion

  }
}
